package com.shaobufan.museum.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shaobufan.museum.pojo.entity.MuseumNotice;

import java.util.List;

/**
* @author 17126
* @description 针对表【museum_notice(博物馆公告)】的数据库操作Service
* @createDate 2024-04-03 01:18:41
*/
public interface MuseumNoticeService extends IService<MuseumNotice> {

    /**
     * 获取公告
     *
     * @return List MuseumNotice
     */
    List<MuseumNotice> getMuseumNotice();

    /**
     * 添加公告
     *
     * @param noticeTitle 公告标题
     * @param noticeContent 公告内容
     * @return Boolean
     */
    Boolean addMuseumNotice(String noticeTitle, String noticeContent);
}